home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
Sherlock 2.0
/
Mac v2.0 docs
/
Text Docs
/
Mac Errors .txt
< prev
next >
Wrap
Text File
|
1996-04-05
|
3KB
|
89 lines
Sherlock Error Messages
This appendix lists the error messages that are generated by the Sherlock support routines while
your program is running. The following abbreviations will be used in the explanation of these
error messages:
<addr> The hexadecimal address of the macro where the error occurred.
<char> A single character.
<name> The name of the macro: TICK, TRACE, etc.
<on_prefix> The on_prefix parameter to the SL_PARSE macro.
<off_prefix> The off_string parameter to the SL_PARSE macro.
<string> The string representing the tracepoint name.
sl_check:<name>: null string @ <addr>.
The tracepoint name passed to a macro was the NULL string.
sl_check:<name>: bad character <char> in <string> @ <addr>.
The tracepoint name of a macro contains an invalid character. Only letters, numerals and the
underscore character are valid in tracepoint names. However, tracepoint names may be preceded
by a leading minus sign in Sherlock macros.
sl_check: <name>: run on argument: <string> @ <addr>.
The tracepoint name passed to a macro contained more than 25 characters.
sl_init: Header version does not match run-time version.
The version of the macros in the file sl.h or sl2.h does not match the version of the code in the file
sl_init.c. Change either the version of the header file that you use to compile your programs or the
version of the support routines that are linked with your program.
sl_ret: Entry/Exit mismatch at exit point <string>.
Check for missing or misnamed exit macros.
Dump of call stack:
The tracepoint name passed to an exit macro does not match the tracepoint name on top of the
timing stack. This indicates that name of the most recently executed entry macro does not match
the name of the current exit macro. As an aid in finding out where the problem occurred, the
tracepoint names on the call stack are printed out.
Lone <on_prefix>
The on_prefix appeared alone on the command line. It must be followed immediately with no
intervening spaces by a tracepoint name. This command line error immediately terminates the
program.
Lone <off_prefix>
The off_prefix appeared alone on the command line. It must be followed immediately with no
intervening spaces by a tracepoint name. This command line error immediately terminates the
program.
Trace table overflow.
Too many tracepoint names were encountered during execution of your program. Tracepoints
with the same names do not add to this total. Neither do tracepoints that are never executed.
Increase the SL_MAX_NODES constant in the file sl2.h and recompile.